//
//  JYCategorysModel.h
//  JYFarm
//
//  Created by 花花 on 2017/10/25.
//  Copyright © 2017年 花花. All rights reserved.
//

#import "BaseModel.h"

@interface JYCategorysModel : BaseModel
/**
 {
 "id": "df36a76f681f4533b457150b68f46f27",
 "name": "商品一级分类测试",
 "icon": null,
 "description": "商城测试数据",
 "pid": "0",
 "type": 1,
 "serialnumber": null,
 "updatetime": 1508209386000,
 "phonetic": null,
 "status": null,
 "inputer": "5c07c95f-464b-4458-a9be-280d556a2a47",
 "childrenList": [
 {
 "id": "45775eb39dd04044aef63b0c19649ef0",
 "name": "商品分类测试-02",
 "icon": null,
 "description": "商城测试数据02",
 "pid": "df36a76f681f4533b457150b68f46f27",
 "type": 1,
 "serialnumber": null,
 "updatetime": 1508209877000,
 "phonetic": null,
 "status": null,
 "inputer": "5c07c95f-464b-4458-a9be-280d556a2a47",
 "childrenList": null,
 "pcategory": null
 }
 ],
 "pcategory": null
 },
 */

@property(nonatomic,copy)NSString *ID; //商品ID

//@property(nonatomic,copy)NSString *name; //商品名称

@property(nonatomic,copy)NSString *icon; //商品icon


@property (nonatomic, copy) NSString *pid;

//当前是否选定
@property (nonatomic, assign) BOOL isSelected;

@property(nonatomic,copy)NSArray *childrenListArr;


//标记是否是被选中
@property (nonatomic, assign) BOOL selectedFlag;


@end


@interface JYChildrenListMoel : JYCategorysModel
//@property (nonatomic, copy) NSString *ID;
//@property (nonatomic, copy) NSString *pid;
//@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *pName;
@end


